package com.yinhe.music.yhmusic.model;

import com.yinhe.music.yhmusic.adapter.HotSingerAdapter;
import com.yinhe.music.yhmusic.adapter.RecommendAlbumAdapter;
import com.yinhe.music.yhmusic.adapter.RecommendInstrumentAdapter;
import com.yinhe.music.yhmusic.adapter.RecommendMenuAdapter;
import com.yinhe.music.yhmusic.adapter.RecommendMvAdapter;
import com.yinhe.music.yhmusic.adapter.RecommendRadioAdapter;
import com.yinhe.music.yhmusic.instrument.InstrumentBean;

import java.util.List;

/**
 * Created by Johnson on 2018/3/13.
 */

public class HomeDataItem {
    // 歌单
    public static final int TYPE_SONG_MENU = 0;
    // 单曲
    public static final int TYPE_MUSIC = 1;
    // MV
    public static final int TYPE_MV = 2;
    // radio
    public static final int TYPE_RADIO = 3;
    // 专辑歌单
    public static final int TYPE_MUSIC_LIST = 4;
    // 歌手推荐
    public static final int TYPE_SINGER = 5;
    // 乐器歌曲推荐
    public static final int TYPE_INSTRUMENT = 6;

    public HomeDataItem(int type) {
        this.type = type;
    }

    private int type;

    private List<RadioListInfo> radioList;
    private List<SongMenuList> songmenuList;
    private List<Music> musicList;
    private List<MvsInfo> mvList;
    private List<SingerList> mSingerList;
    private List<InstrumentBean.InstrumentListBean> mInstrumentList;


    private RecommendAlbumAdapter albumAdapter;
    private RecommendMvAdapter mvAdapter;
    private RecommendMenuAdapter songMenuAdapter;
    private RecommendRadioAdapter radioAdapter;
    private HotSingerAdapter singerAdapter;
    private RecommendInstrumentAdapter instrumentAdapter;


    public RecommendAlbumAdapter getAlbumAdapter() { return albumAdapter; }

    public RecommendMvAdapter getMvAdapter() {
        return mvAdapter;
    }

    public RecommendMenuAdapter getSongMenuAdapter() {
        return songMenuAdapter;
    }

    public RecommendRadioAdapter getRadioAdapter() { return radioAdapter; }

    public RecommendInstrumentAdapter getInstrumentAdapter() {
        return instrumentAdapter;
    }

    public HotSingerAdapter getSingerAdapter() {
        return singerAdapter;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<RadioListInfo> getRadioList() {
        return radioList;
    }

    public void setRadioList(List<RadioListInfo> radioList) {
        this.radioList = radioList;
        radioAdapter = new RecommendRadioAdapter();
    }

    public List<SongMenuList> getSongmenuList() {
        return songmenuList;
    }

    public void setSongmenuList(List<SongMenuList> songmenuList) {
        this.songmenuList = songmenuList;
        songMenuAdapter = new RecommendMenuAdapter();
    }

    public List<Music> getMusicList() {
        return musicList;
    }

    public void setMusicList(List<Music> musicList) {
        this.musicList = musicList;
        albumAdapter = new RecommendAlbumAdapter();

    }

    public List<MvsInfo> getMvList() {
        return mvList;
    }

    public void setMvList(List<MvsInfo> mvList) {
        this.mvList = mvList;
        mvAdapter = new RecommendMvAdapter();
    }

    public void setmSingerList(List<SingerList> mSingerList) {
        this.mSingerList = mSingerList;
        singerAdapter = new HotSingerAdapter();
    }

    public List<SingerList> getmSingerList() {
        return mSingerList;
    }

    public void setmInstrumentList(List<InstrumentBean.InstrumentListBean> mInstrumentList) {
        this.mInstrumentList = mInstrumentList;
        instrumentAdapter = new RecommendInstrumentAdapter();
    }

    public List<InstrumentBean.InstrumentListBean> getmInstrumentList() {
        return mInstrumentList;
    }

}
